import 'package:dio/dio.dart';
import 'package:flutter/material.dart';

class MyApp13 extends StatefulWidget {
  const MyApp13({super.key});

  @override
  State<MyApp13> createState() => _MyApp13State();
}

class _MyApp13State extends State<MyApp13> {
  @override
  void initState() {
    super.initState();
    getData();
  }

  void getData() async {
    Dio dio = Dio();
    final res = await dio.get('https://mock.boxuegu.com/mock/1172/orders');
    print(res);
  }

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
